import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import { Menu,Breadcrumb } from 'antd';
import {Router,Route,Link,hashHistory,IndexRoute} from 'react-router';
import Home from './components/Home/index';
import Projects from './components/Projects/index';
import MyTerritory from './components/MyTerritory/index';
import App from './app';


ReactDOM.render((
  <Router history={hashHistory}>
    <Route path='/' component={App}>
      <IndexRoute component={Home} />
      <Route path='/home' component={Home} />
      <Route path='/projects' component={Projects} />
      <Route path='/myterritory' component={MyTerritory} />
    </Route>
  </Router>
),document.getElementById('root'))

// ReactDOM.render(<App />, document.getElementById('root'));
